package org.jeecg.modules.monitoring.j_monitoring.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.monitoring.j_monitoring.entity.MGlRegulator;
import org.jeecg.modules.monitoring.j_monitoring.entity.MGlStorageResources;
import org.jeecg.modules.monitoring.j_monitoring.entity.format.MountCabinetParam;

import java.util.Collection;

/**
 * @Description: 控制器服务
 * @Author: xiaoyq
 * @Date:   2023-05-25
 * @Version: V1.0
 */
public interface IMGlRegulatorService extends IService<MGlRegulator> {
    /**
     * 绑定机柜
     * @param mGlRegulator
     * @return
     */
    Result mountCabinet(MountCabinetParam mGlRegulator);

    /**
     * 测试
     */
    void test();

    /**
     * 批量保存
     * @param entityList
     * @param batchSize
     * @return
     */
    @Override
    boolean saveBatch(Collection<MGlRegulator> entityList, int batchSize);
}
